package com.tbk.wechatbot.service;

import com.tbk.wechatbot.robot.TpwdRobot;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
public class RobotService {

    @Autowired
    private TpwdRobot tpwdRobot;

    @PostConstruct
    public void initWechatRobot() {
        tpwdRobot.start();
    }


}
